package com.wang.spring.bean.a_type;

import org.springframework.stereotype.Component;

//@Component
public class Child {
    public Child() {
        System.out.println("Child 初始化");
    }

    // 当前的小孩子想玩球
    private String wantToy = "ball";

    public String getWantToy() {
        return wantToy;
    }
}
